.class Lcom/estrongs/android/view/c0$a;
.super Landroid/os/Handler;
.source "ProgressView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/view/c0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private a:I

.field final synthetic b:Lcom/estrongs/android/view/c0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/c0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    const/4 p1, 0x1

    .line 2
    iput p1, p0, Lcom/estrongs/android/view/c0$a;->a:I

    return-void
.end method

.method private a(Landroid/widget/TextView;Ljava/lang/String;)V
    .locals 0

    if-eqz p1, :cond_0

    .line 1
    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7

    .line 1
    iget p1, p1, Landroid/os/Message;->what:I

    const/16 v0, 0x64

    const v1, 0x7fffffff

    const-string v2, "%"

    const/4 v3, 0x1

    const/4 v4, 0x0

    packed-switch p1, :pswitch_data_0

    :pswitch_0
    goto/16 :goto_5

    .line 2
    :pswitch_1
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    invoke-virtual {p1, v3}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->l:Landroid/widget/TextView;

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/view/c0$a;->a(Landroid/widget/TextView;Ljava/lang/String;)V

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->k:Landroid/widget/TextView;

    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/view/c0$a;->a(Landroid/widget/TextView;Ljava/lang/String;)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->j:Landroid/widget/TextView;

    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/view/c0$a;->a(Landroid/widget/TextView;Ljava/lang/String;)V

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->i:Landroid/widget/TextView;

    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/view/c0$a;->a(Landroid/widget/TextView;Ljava/lang/String;)V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->m:Landroid/widget/TextView;

    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/view/c0$a;->a(Landroid/widget/TextView;Ljava/lang/String;)V

    goto/16 :goto_5

    .line 8
    :pswitch_2
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1, v3}, Lcom/estrongs/android/view/c0;->a(Lcom/estrongs/android/view/c0;Z)Z

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v0, p1, Lcom/estrongs/android/view/c0;->i:Landroid/widget/TextView;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->i(Lcom/estrongs/android/view/c0;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_5

    .line 10
    :pswitch_3
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v0}, Lcom/estrongs/android/view/c0;->c(Lcom/estrongs/android/view/c0;)I

    move-result v0

    iget v1, p0, Lcom/estrongs/android/view/c0$a;->a:I

    div-int/2addr v0, v1

    invoke-virtual {p1, v0}, Landroid/widget/ProgressBar;->setProgress(I)V

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v0, p1, Lcom/estrongs/android/view/c0;->k:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    .line 12
    iget-boolean v1, p1, Lcom/estrongs/android/view/c0;->e:Z

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->c(Lcom/estrongs/android/view/c0;)I

    move-result p1

    if-eqz v1, :cond_0

    int-to-long v3, p1

    invoke-static {v3, v4}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :cond_0
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    :goto_0
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 13
    :cond_1
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v0}, Lcom/estrongs/android/view/c0;->c(Lcom/estrongs/android/view/c0;)I

    move-result v1

    int-to-long v3, v1

    iget-object v1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v1}, Lcom/estrongs/android/view/c0;->j(Lcom/estrongs/android/view/c0;)I

    move-result v1

    int-to-long v5, v1

    invoke-static {v0, v3, v4, v5, v6}, Lcom/estrongs/android/view/c0;->a(Lcom/estrongs/android/view/c0;JJ)D

    move-result-wide v0

    double-to-int v0, v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v0, v0, Lcom/estrongs/android/view/c0;->j:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_5

    .line 15
    :pswitch_4
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-boolean v2, p1, Lcom/estrongs/android/view/c0;->e:Z

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->j(Lcom/estrongs/android/view/c0;)I

    move-result p1

    if-eqz v2, :cond_2

    int-to-long v2, p1

    invoke-static {v2, v3}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p1

    goto :goto_1

    :cond_2
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    .line 16
    :goto_1
    iget-object v2, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v2}, Lcom/estrongs/android/view/c0;->b(Lcom/estrongs/android/view/c0;)Landroid/view/View;

    move-result-object v2

    if-eqz v2, :cond_3

    .line 17
    iget-object v2, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v2}, Lcom/estrongs/android/view/c0;->b(Lcom/estrongs/android/view/c0;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/view/View;->setVisibility(I)V

    .line 18
    :cond_3
    iget-object v2, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v2, v2, Lcom/estrongs/android/view/c0;->l:Landroid/widget/TextView;

    if-eqz v2, :cond_4

    .line 19
    invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 20
    :cond_4
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    invoke-virtual {p1, v4}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 21
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    invoke-virtual {p1, v4}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V

    .line 22
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->j(Lcom/estrongs/android/view/c0;)I

    move-result p1

    if-le p1, v1, :cond_5

    .line 23
    iput v0, p0, Lcom/estrongs/android/view/c0$a;->a:I

    .line 24
    :cond_5
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v0}, Lcom/estrongs/android/view/c0;->j(Lcom/estrongs/android/view/c0;)I

    move-result v0

    iget v1, p0, Lcom/estrongs/android/view/c0$a;->a:I

    div-int/2addr v0, v1

    invoke-virtual {p1, v0}, Landroid/widget/ProgressBar;->setMax(I)V

    goto/16 :goto_5

    .line 25
    :pswitch_5
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    invoke-virtual {p1, v3}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V

    goto/16 :goto_5

    .line 26
    :pswitch_6
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->h(Lcom/estrongs/android/view/c0;)Z

    move-result p1

    if-nez p1, :cond_e

    .line 27
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v0, p1, Lcom/estrongs/android/view/c0;->i:Landroid/widget/TextView;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->i(Lcom/estrongs/android/view/c0;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_5

    .line 28
    :pswitch_7
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v0}, Lcom/estrongs/android/view/c0;->e(Lcom/estrongs/android/view/c0;)I

    move-result v0

    iget v1, p0, Lcom/estrongs/android/view/c0$a;->a:I

    div-int/2addr v0, v1

    invoke-virtual {p1, v0}, Landroid/widget/ProgressBar;->setProgress(I)V

    .line 29
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v0, p1, Lcom/estrongs/android/view/c0;->k:Landroid/widget/TextView;

    if-eqz v0, :cond_7

    .line 30
    iget-boolean v1, p1, Lcom/estrongs/android/view/c0;->e:Z

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->e(Lcom/estrongs/android/view/c0;)I

    move-result p1

    if-eqz v1, :cond_6

    int-to-long v3, p1

    invoke-static {v3, v4}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p1

    goto :goto_2

    :cond_6
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    :goto_2
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 31
    :cond_7
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->j:Landroid/widget/TextView;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v1}, Lcom/estrongs/android/view/c0;->e(Lcom/estrongs/android/view/c0;)I

    move-result v3

    int-to-long v3, v3

    iget-object v5, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v5}, Lcom/estrongs/android/view/c0;->a(Lcom/estrongs/android/view/c0;)I

    move-result v5

    int-to-long v5, v5

    invoke-static {v1, v3, v4, v5, v6}, Lcom/estrongs/android/view/c0;->a(Lcom/estrongs/android/view/c0;JJ)D

    move-result-wide v3

    double-to-int v1, v3

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_5

    .line 32
    :pswitch_8
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->f(Lcom/estrongs/android/view/c0;)Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_8

    .line 33
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->f(Lcom/estrongs/android/view/c0;)Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v4}, Landroid/view/View;->setVisibility(I)V

    .line 34
    :cond_8
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object p1, p1, Lcom/estrongs/android/view/c0;->m:Landroid/widget/TextView;

    if-eqz p1, :cond_e

    .line 35
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-boolean v1, v0, Lcom/estrongs/android/view/c0;->e:Z

    invoke-static {v0}, Lcom/estrongs/android/view/c0;->g(Lcom/estrongs/android/view/c0;)I

    move-result v0

    if-eqz v1, :cond_9

    int-to-long v0, v0

    invoke-static {v0, v1}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object v0

    goto :goto_3

    :cond_9
    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    :goto_3
    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "/s"

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 36
    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v0, v0, Lcom/estrongs/android/view/c0;->m:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_5

    .line 37
    :pswitch_9
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-boolean v2, p1, Lcom/estrongs/android/view/c0;->e:Z

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->a(Lcom/estrongs/android/view/c0;)I

    move-result p1

    if-eqz v2, :cond_a

    int-to-long v2, p1

    invoke-static {v2, v3}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p1

    goto :goto_4

    :cond_a
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    .line 38
    :goto_4
    iget-object v2, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v2}, Lcom/estrongs/android/view/c0;->b(Lcom/estrongs/android/view/c0;)Landroid/view/View;

    move-result-object v2

    if-eqz v2, :cond_b

    .line 39
    iget-object v2, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v2}, Lcom/estrongs/android/view/c0;->b(Lcom/estrongs/android/view/c0;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/view/View;->setVisibility(I)V

    .line 40
    :cond_b
    iget-object v2, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    iget-object v2, v2, Lcom/estrongs/android/view/c0;->l:Landroid/widget/TextView;

    if-eqz v2, :cond_c

    .line 41
    invoke-virtual {v2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 42
    :cond_c
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    invoke-virtual {p1, v4}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V

    .line 43
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->a(Lcom/estrongs/android/view/c0;)I

    move-result p1

    if-le p1, v1, :cond_d

    .line 44
    iput v0, p0, Lcom/estrongs/android/view/c0$a;->a:I

    .line 45
    :cond_d
    iget-object p1, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {p1}, Lcom/estrongs/android/view/c0;->d(Lcom/estrongs/android/view/c0;)Landroid/widget/ProgressBar;

    move-result-object p1

    iget-object v0, p0, Lcom/estrongs/android/view/c0$a;->b:Lcom/estrongs/android/view/c0;

    invoke-static {v0}, Lcom/estrongs/android/view/c0;->a(Lcom/estrongs/android/view/c0;)I

    move-result v0

    iget v1, p0, Lcom/estrongs/android/view/c0$a;->a:I

    div-int/2addr v0, v1

    invoke-virtual {p1, v0}, Landroid/widget/ProgressBar;->setMax(I)V

    :cond_e
    :goto_5
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_9
        :pswitch_0
        :pswitch_8
        :pswitch_7
        :pswitch_6
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
    .end packed-switch
.end method
